#ifndef __GPSTHREAD_H
#define __GPSTHREAD_H

#include "Common.h"
#include "IThread.h"
#include "TinyGPSPlus/TinyGPS++.h"

class GpsThread : public IThread{
private:
    TinyGPSPlus* _gps;

    int32_t _lastLat;
    int32_t _lastLon;
    int32_t _lastSpeed;
    int32_t _lastCourse;

public:
    GpsThread(TinyGPSPlus* gps);

    void run();
};

#endif // __GPSTHREAD_H
